package study06;

public class Java01_process_test {
    public static void main (String arg[]) {
        System.out.println("hellow");
//        线程
        System.out.println("Thread: " + Thread.currentThread().getName());
//        创建线程
        MyThread t = new MyThread();
//        启动线程
        t.start();
    }
}

//  自定义线程类
class MyThread extends Thread {
//    重写运行指令

    @Override
    public void run() {
        System.out.println("MyThread: " + Thread.currentThread().getName());
    }
}
